﻿using IDAL;
using Microsoft.EntityFrameworkCore;
using Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace DAL
{
    /// <summary>
    /// 商店员工表数据访问层--实现
    /// </summary>
    public class StaffInfoDAL : BaseDeleteDAL<StaffInfo>, IStaffInfoDAL
    {
        private UnmanContexts _dbContext;
        public StaffInfoDAL(UnmanContexts dbContext) : base(dbContext)
        {
            _dbContext = dbContext;
        }

        public DbSet<StaffInfo> GetStaffInfos()
        {
            return _dbContext.StaffInfo;
        }
    }
}
